package com.frame.service.impl;

import com.frame.domain.Crop;
import com.frame.mapper.PlantationIdMapper;
import com.frame.service.PlantationIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlantationIdServiceImpl implements PlantationIdService {

    @Autowired
    private PlantationIdMapper plantationIdMapper;
    @Override
    public List<Crop> plist() {
        return plantationIdMapper.plist();
    }
}
